﻿<Page x:Class="SkyShell.StopSync"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="370" d:DesignWidth="553"
	Title="StopSync" DataContext="{Binding Source={StaticResource Locator}, Path=StopSync}">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="128*" />
            <RowDefinition Height="128*" />
        </Grid.RowDefinitions>
        <Button  Name="button1" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" BorderThickness="0" Style="{DynamicResource ButtonStyleSelection}" Command="{Binding Path=Detach}">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" MinHeight="0"/>
                    <RowDefinition/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="79" />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="1" HorizontalAlignment="Left" Margin="0,5" Name="textBlock1" Text="Detach folder" VerticalAlignment="Center" FontSize="24" Height="31.923" Width="162.433" />
                <TextBlock Grid.Column="1" TextWrapping="Wrap" FontSize="16" Grid.Row="1" Margin="0,0,8,0"><Run Language="en-ca" Text="Your original folder location will be restored and no longer be synced to SkyDrive. However, a copy of the folder remains in SkyDrive. This is the best option if you sync the folder to other devices and don't want delete the folder from those devices."/></TextBlock>
                <Image HorizontalAlignment="Center" Margin="0,5,0,0" Name="image1" Stretch="None" VerticalAlignment="Top" Source="/SkyShell;component/Images/Detach.png" Grid.Row="1" />
            </Grid>
        </Button>
        <Button  Name="button2" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" Grid.Row="1" BorderThickness="0" Style="{DynamicResource ButtonStyleSelection}" Command="{Binding Path=Delete}">
            <Grid Background="White">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="79" />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="1" HorizontalAlignment="Left" Margin="0,5"  Text="Remove folder" VerticalAlignment="Center" FontSize="24" Height="31.923" Width="154.68" />
                <TextBlock Grid.Column="1" Margin="0,0,8,0" TextWrapping="Wrap" FontSize="16" Grid.Row="1"><Run Language="en-ca" Text="Your original folder location will be restored and the content entirely removed from SkyDrive. Be aware that the folder won't be available anymore to any SkyDrive connected device."/></TextBlock>
                <Image HorizontalAlignment="Center" Margin="0,5,0,0" Name="image2" Stretch="None" VerticalAlignment="Top" Source="/SkyShell;component/Images/delete.png" Grid.Row="1" />
            </Grid>
        </Button>
    </Grid>
</Page>
